export const usePermissions = () => useState<object| null>('permissions', () => null)
export const useBackendAccessToken = () => useState<string|null|undefined>('backend_access_token', () => {
    const backend_access_token = useCookie("backend_access_token")
    if(backend_access_token)
        return backend_access_token;
    return null
})
